package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @NAME: SkuItemVo
 * @USER: wjj
 * @DATE: 2023/11/6
 * @TIME: 14:42
 * @DAY_NAME_FULL: 星期一
 * @PROJECT_NAME: gulimall
 */
@Data
public class SkuItemVo {
    //1、sku基本信息获取，查询`pms_sku_info`表
    SkuInfoEntity info;
    boolean hasStock=true;
    //2、sku图片信息，`pms_spu_images`表
    List<SkuImagesEntity> images;
    //3、spu的销售属性组合
    private List<SkuItemSaleAttrVo> saleAttr;
    //4、获取spu的介绍
    SpuInfoDescEntity desc;

    //5、获得spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    //6、秒杀商品的优惠信息
    private SeckillSkuVo seckillSkuVo;


}
